home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: How to get Beep??
- Date: 17 Jan 1996 23:58:08 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4dk2eg$oj9@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe9.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 17, 1996 22:34:33 in article <How to get Beep??>,
- 'bbboon01@homer.louisville.edu (Billy Boone)' wrote:
-
-
- >I was wondering how I could get a Beep similar to Visual Basic's Beep
- >statement in Visual C++ 1.5. I want a beep when I give the user error
- >messages. Is it an API or is it a MFC function??
- >
- >I know in C adding a \a gets you a beep but I want to utilize the
- >AfxMessageBox to display my error message but I also want to have a beep
- to
- >alert the user of the error.
- >
- Try ::MessageBeep(MB_ICONEXCLAMATION);
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-